package io.wdb.modules.generator.generator.dao;

import java.util.List;

import io.wdb.modules.generator.generator.entity.ProcessInstructionLogDO;
import io.wdb.modules.generator.generator.entity.customer.ProcessInstructionLogCustomer;

public interface ProcessInstructionLogDAO {
	
    int remove(Long id);

    int save(ProcessInstructionLogDO record);

    ProcessInstructionLogDO get(Long id);

    int update(ProcessInstructionLogDO record);
    
    int getLastestinstructionId(Long groupId);
    
    Long getMaxGroupId();
    
    Long getMaxGroupIdByUserId(Long userId);
    
    Long getMaxGroupIdByGridCode(String bookgridCode);
    
    ProcessInstructionLogDO getActionResponse(ProcessInstructionLogDO instructionLogDO);
    
    List<ProcessInstructionLogCustomer> instructionLogs(ProcessInstructionLogDO instructionLogDO);
}